{include file="public/header" /}

{include file="people/user_info" /}

<div class="container mtb-15">
	<div class="list-box data-list-box">
		<div class="list-body">
			{include file="people/nav" /}
			<div class="text-muted mb10 hidden-xs text-center">
				<div class="btn-group btn-group-xs">
					<a class="btn btn-default {$action_name == 'fav_question' ? 'active' : ''}" href="{:url('People/fav_question', array('user_id' => $user_id))}" role="button">收藏的问题</a>
					<a class="btn btn-default {$action_name == 'fav_article' ? 'active' : ''}" href="{:url('People/fav_article', array('user_id' => $user_id))}" role="button">收藏的文章</a>
				</div>
			</div>
			<table class="data-list">
				<tr>
					<th>标题</th>
					<th width="80">浏览</th>
					<th width="150">收藏时间</th>
				</tr>
				{volist name="list" id="rs"}
					<tr>
						<td><a href="{:url('Article/detail', array('article_id' => $rs['article_id']))}">{$rs['title']}</a></td>
						<td>{$rs['view_num']}</td>
						<td>{:date('Y-m-d H:i:s', $rs['user_fav_time'])}</td>
					</tr>
				{/volist}
			</table>
			<div class="page">{$page}</div>
		</div>
	</div>
</div>

{include file="public/footer" /}